﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="FrmSalidaCajaLista.aspx.cs" Inherits="UI.Tesoreria.FrmSalidaCajaLista" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">




        .style4
        {
            /*background: url(Administration/Images/Grey/captionbckg.gif) repeat-x;*/
        background: #f9f9f9 url('../Imagenes/grey/captionbckg.gif') repeat-x;
            color: #333333;
            text-align: left;
            line-height: 16px;
            font-size: 11px;
            font-weight: bold;
            padding-top: 4px;
            padding-left: 4px;
            font-family: tahoma,arial,verdana,sans-serif;
            height: 23px;
        }
         .styleCOntrolIngreso
        {
            width: 60px;
            height: 26px;
        }
        .style33
        {
            width: 11px;
            height: 26px;
        }
        .style32
        {
            width: 12px;
            height: 26px;
        }
        .botoncito
        {
            height: 26px;
        }
        .style34
        {
            width: 814px;
        }
                                
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table dir="ltr" frame="box" __designer:mapid="175">
        <tr __designer:mapid="176">
            <td  class="style4" colspan="7" __designer:mapid="177">
                            FILTROS</td>
        </tr>
        <tr __designer:mapid="178">
            <td __designer:mapid="179" >
                <asp:Label ID="Label1" runat="server" Text="Numeracion"></asp:Label>
            </td>
            <td class="styleCOntrolIngreso" __designer:mapid="17b">
                <asp:TextBox ID="txtNumeracionBusqueda" runat="server" Height="16px" 
                    Width="89px"></asp:TextBox>
            </td>
            <td class="style33" __designer:mapid="17d">
            </td>
            <td class="styleCOntrolIngreso" __designer:mapid="17e">
                <asp:Label ID="Label2" runat="server" Text="Cliente"></asp:Label>
            </td>
            <td class="styleCOntrolIngreso" __designer:mapid="180">
                <asp:TextBox ID="txtClienteBusqueda" runat="server" Height="18px" Width="234px"></asp:TextBox>
            </td>
            <td class="style32" __designer:mapid="182">
            </td>
            <td class="styleCOntrolIngreso" __designer:mapid="183">
                <asp:Button ID="BtnBuscar" runat="server" CssClass="botoncito" Text="Buscar" 
                    onclick="BtnBuscar_Click"/>
            </td>
        </tr>
    </table>
        <table style="width: 916px" __designer:mapid="185" >
            <tr __designer:mapid="186">
                <td class="style34" __designer:mapid="187" >
                    <asp:Label ID="LabelErrorListado" runat="server" ForeColor="#FF0066"></asp:Label>
                    </td>
                <td __designer:mapid="189" >
                    <asp:Button ID="btnNuevo" runat="server" Height="32px" 
                        Text="Nuevo" Width="88px" onclick="btnNuevo_Click1" />
                </td>
            </tr>
        </table>

       

        <asp:GridView ID="GridListado" runat="server" 
            AutoGenerateColumns="False" Width="922px" DataKeyNames="id" 
            onrowcommand="GridListado_RowCommand" 
            onselectedindexchanged="GridListado_SelectedIndexChanged">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="ID" Visible="False" />
                <asp:BoundField DataField="TipoDocumento" HeaderText="Tipo de Documento" />
                <asp:BoundField DataField="Numeracion" HeaderText="Numeracion" />
                <asp:BoundField DataField="FechaDocumento" HeaderText="Fecha Documento" />


                <asp:BoundField DataField="CodigoSN" HeaderText="Codigo SN" />
                <asp:BoundField DataField="NombreSN" HeaderText="NombreSN" />
                <asp:BoundField DataField="Caja" HeaderText="Caja" />
                <asp:BoundField DataField="Monto" HeaderText="Monto" />
                <asp:BoundField DataField="CreadoPor" HeaderText="Creado Por" />


                <asp:TemplateField>
                <ItemTemplate>
                    <asp:LinkButton ID="modificar" Runat="server" 
                    CommandName="Modificar">
                    Modificar
                    </asp:LinkButton>
                </ItemTemplate>
                </asp:TemplateField> 

                <asp:TemplateField>
                <ItemTemplate>
                    <asp:LinkButton ID="eliminar" Runat="server" 
                    OnClientClick="return confirm('¿Desea eliminar el registro?');" 
                        CommandName="Eliminar">
                    Eliminar
                    </asp:LinkButton>
                </ItemTemplate>
                </asp:TemplateField> 

            </Columns>
        </asp:GridView>
        </asp:Content>
